Remove trailing whitespace, break long lines, remove other spurious whitespace