progress bar refactored to use sublime set_timeout_async instead of thread loop, now running much better and smooth