Forward port from Eraser6.0: Fixed regression introduced in r1634. Fixed hang when starting Eraser with --quiet and then starting another instance -- InvokeRequired? did not check for the creation of the handle, and since MainFrom?'s handle is created deferred InvokeRequired? returned false causing the controls to be created on a secondary thread. Which then locks the program.