Added exception handling to the finishPanel.