added a debug menu (requires Toolbar)