can now x out of window or press escape to quit