Added elapsed time to GUI
Probably fixed exit event