ui/ncurses: Move menu initialisation to cui code