Spelling corrections and javadoc wording