Quick code cleanup, commenting.

clang-format'd, too.
Ensure we flush after printing important information (found a new best).