revert to old progressbar ... write a logger instead
revert progressbar test
added strrepeat