Do not call this member function from anywhere but within the Run member function.
The default implementation of this function writes framework options to the application's .INI file. Override this function to clean up when your application terminates.