various pep8 cleanup, typo fixes, etc