further work on window settings
implemented window settings