GUIBaseContext :: exit - Terminate application
The function immediately terminates the application. The function differs from the system _exit() function, since it will close all application resources properly before closing the application.