added quit method to gl_window