updated change log
+ changed “quit” action to call [NSApp terminate:]; and put the final clean up code in applicationWillTerminate. No exit via exit(EXIT_SUCCESS); anymore.