Added a progress bar that will flush the buffer (better than threading)
Merged ProgressBar and ProgressFlush.