Ghost inspector opens via a viewNavigate event using a state change (WIP)

When going from browser to inspector the sidebar is re-rendered because the 'viewmode' is changing. I'm considering this OK because I think viewmode should be removed anyways. See the comments inline.