Added mode selector to editor context menu, Issue #32