check menu exists before trying to render it
check menu has items, before trying to render
another minor menu bug