Finally got the progress bar working...