add slave window creation in GLPlugin