good ideas, I'll put them in.  ditto on the parsing code, I thought about making a lex-yacc parser, but it was less work to extend it.