put renderwindow in dockpanel and fix creating multiple windows