Lots of PEP8 fixes (mostly formatting).