Some progressbar fixes