More changes to attempt to get the menubar back on exit. Without success:-(
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 09d8648..bb798f2 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -552,6 +552,8 @@
 void
 PyMac_OutputSeen()
 {
+	if ( console_output_state == STATE_UNKNOWN )
+		PyMac_InitMenuBar();
 	console_output_state = STATE_LASTREAD;
 }
 
@@ -561,6 +563,8 @@
 void
 PyMac_OutputNotSeen()
 {
+	if ( console_output_state == STATE_UNKNOWN )
+		PyMac_InitMenuBar();
 	console_output_state = STATE_LASTWRITE;
 }