Tells you if you've closed the GUI. Working on a better solution.