Some fixes to the progress logging.