Cleanup

Fixes mixed tab/space indentation and removes trailing whitespace.
Hopefully entirely cosmetic.