Some cosmetic, fix some CLang warnings, and implement the progress
character on Unix.
Minor fixes.