the application instance that will run
command line arguments used to invoke the application
exit status returned by the application
exit exception instance, if one was thrown (null otherwise)
new exit exception to use when the program exits (can be modified by other extension though)
Function executed at program exit.
This is function is executed always just before the program exits, no matter if Application.exit() was called or not. This function can be useful to do application cleanup that's always needed.