Add a "compact" option to "third-block"

plus trailing whitespace cleanup.