starting to refactor ccmmenu
more menu work
refactoring and tweaks for edit mode