Procedure Notify_Exit_Application
Notify_exit_application is called when an application is about to be closed. This does nothing by default. It is a notification hook intended for augmentation.