ContextPaneMediator now has pane stacks impl
abstracted panes into mediators
added StateModel, abstracting all state into one area