Refactor menu_parse_and_resolve - add call to menu_entries_push
and add int returnvalue for menu_entries_push