PEP8 and typos

Minor fixes only.
Thanks to PyCharm inspection feature.