support for multiple windows.