Cleanup whitespace

This just removes all trailing whitespace and normalizes indentation to 2-space indent.

Line length, argument alignment, other forms of formatting aren't modified.