Grand whitespace cleanup

A bit pedantic, I know -- but the no-newline-at-end-of-file instances in particular make certain things annoying (git doesn't like doing interactive staging in cases where the already-committed version of a file lacks a trailing newline...).