Exit game when X is pressed