Added a new version of progress_bar.