ti: don't update thread line when thread is empty.

there is most likely a race condition going on between updateing the
threads and updating the lines in the buffer. just return and skip
updating line if the thread that is set for the line is empty.

fixes #190.