Fix formatting.

* Tabs -> four spaces
* re-indent some long lines