Highlight lines while they are evaluating.

Also fixes some eof logic errors.