Huge autopep8 changes

Not everything, since autopep8 has some weird annoyances