server: Infrastructure for having a thread own the desktop window.