Tightened up external editor context menu entry logic