Cleaned up spaces/tabs, hopefully it will be easier to read on github.
Also, hopefully it didn't mess anything up.