MDL-21963 rewritten progress bar internals, hopefully working now properly