Added a progess bar to the main form.