This moves the progress dialog logic and the result dialog to separate functions that can easily be reused for disc updates.