Added the progressbar stuff