I've added a hack in the test/debug builds that suspends event processing in the main loop while waiting for the MapNotify on the blank window. When I feel better I'll add a separate event processing loop for the blank window. Let me know if it still gets stuck open.