Changes to progress bar

now actually works, asynchronous updating!!!!