this is no longer required with improvements to the GUI event loop