PEP 8 tweaks

http://legacy.python.org/dev/peps/pep-0008/

- Make indentation use 4 spaces instead of 2.
- Wrap long lines
- Spaces around operators
- Adding/removing blank lines
- etc.