Add menus and preferences