Clean up command line exit crash on 10.6

Still an issue with menu quit.