Added exit button to main panel
refs #711