Show main window

Shows main window, tabs
Slight view logic change.

Gave views access to the splitpane that contains them (if there is one).