Fix infile_parser
Add undo stub
accum before poly
Trim trailing space
Unit tests