changed thread progress bar parameters.