PR review fixes.
Imporoved progress reporting.
More progress reporting tweaks.
error handling fixes.
more error handling tweaks.
clear progress bar when finished.