Error Trapping

Added error trapping to menus.