Make sure a thread has a queue as soon as it creates a window.

3 files changed