Another attempt at handling the pipe editor window updates.
This fixes the test suite test_load_state_no_gui() GUI test. The pipe window update needs to have
all pending wx events flushed so that the pipe window is up to date before emulating a pop up menu.