more 2d lexer repairs
add port-count-lines? to the lexer contract