Minor changes and correcting some misspellings in comments.