Menus are working

Fixed several bugs, including use of an unimplemented function on
String, an unmatched if that was producing weird results, and for's
without yields.