ProgressWindow lay out improved. Closing the window now cancels the function execution. Window will only display if function is predicted to take more than 2 seconds to execute.