created a tabbed pane for multi-window support