Force process events to display messages on Mac
Move forceShow so that the main window appears on top of other windows when started from command line