PEP8ify everything that makes sense

* Fix indentation of multi-line `if` statements
* Use parens instead of backslashes
* More consistent indentation of nested function calls and string formatting