Feature? - register callback to the QuitEvent
Is there already a way to have a callback proc called on the QuitEvent
so that the quit can be intercepted, and 
- the user asked if they want to quit (and a mechanism to stop the QuitEvent propagating)
- do some clean up, etc  (although this could be done by the `exitprocs.addExitProc`) 