minor spelling and javadoc changes