further work on window manager class last commit before activating