Fix potential crashes.

The container view can go away while we are rendering.
Refactor the side bar.

Now its possible to edit the tag markers while the side bar is open.
Fix MarkerGraphAdapter.