This change implements generic routine gtkutil_destroy_on_esc () and adds invocations of it in the requisite window-handling places.