added setting to control visibility of "toggle editor" menu item

fixes #2