rebase /builtin/mainmenu.lua