Moved progressbar() to helper and some other changes
mend
Removed flush() from append
Non bug but fixed neeraj