Indenting code and removing some extra ";" semicolon characters.