no compiler errors in render due to changes in menu.

menu_item_get_option changed to make sure num is valid.