Finally worked out the bugs in the Scanner/FSA stuff. First complete run with no errors. Still figuring out file IO.