Fixes #585 - allow for removal of cmenus without corrupting pages data.