modmenu: prepare for cleanup
menu_functions.c: cleanup