bug fix: MenuItem and SubMenuItem can now be private independently of parent