Be less shouty while erasing/validating/flashing is successful.
Tweak and constify progress bar.
Add log() makro to replace all 'fprintf( stderr, ...)'
Change log() makro to LOG(), to comply with coding style: makros in all caps.
Tweak recently unshoutified messages to begin with a capital letter (to comply with other output style).