Fix some PEP-8 violations, and some typos in comments.