refactoring of progressbar format
added support for first-time reindexing usage