menu definition change

changed the way menu entries are disabled or removed.
memodump_menuoverride could need to be changed due to this change.