Add a gtk close callback to clean up the Graphics_window properly when the close button is clicked.
Add a gtk close callback to clean up the Graphics_window properly when the close button is clicked.

cmiss/cmgui,cmiss/cmgui