sorted the progress bar not displaying correctly when doing long operations (needed a flush command)
Merge remote-tracking branch 'origin/master'