Fixed spellings in comments, minor changes