Make GC clean up the buttons and window.