minor fixes for `textgrid.py`, and new `eval.py`