progress bar changes and controls bug fixing