added logging code that works on Mac OS 10.8.
possible fix for menu issue in MainStage / 10.8.