Added the progressdispatcher class.