Continued work on the app state of all views.  This also improves the handling of the side panes.