Added sash windows to the main window and supporting functions for manipulating the sashes. (MainWindow.ShowLegend): Create a DockableWindow with the LegendPanel as the contents.