Replaced integer constants with an enum.
Allow menus of at least two items.