Added panes to the main window.