g_extern.console.rmenu.mode becomes g_extern.lifecycle_menu_state