Unified external window creation

Call the same method to check and create external windows.
Only allowing one pop-up window at a time, registered as "_.extwin".