PEP8 cleanups for python, and a bunch of smaller changes for the QML files.