fixes #163 - added debug menus flag