Spelling and whitespace cleanup