Kevin Walzer - 2011-01-06

In Tk-Cocoa, the focus and grab commands seem to generate a modal session for the window, which "unhides" the main Cocoa app window (though Tk still thinks it's not mapped). See http://stackoverflow.com/questions/4484521/showing-a-modal-nswindow-without-activating-the-other-application-windows for an explanation of this. A fix is not clear.