Some pep8 and typo fixes.