Progress bars work
Fixed progress bar arithmetic