This will help to route things through a main gui instance per desktop session/class. Currently has stubs for windows.