Move some window manager target registration out of window creation so t...

...hat those targets are active even if there is no GUI