progress bar, tweaked logging