PEP8 Cleanup

Lots of PEP8 cleanup. 

I ran this command and fixed errors until there were none left, and fixed some other stuff I found along the way.

```
pep8 --ignore E501,E126,E128,E113,E712 | less
```