Update gui.py

fixes not being able to exit with apple remote