Changes thread title when thread changes