Fix thread name setting
Because of a typo, thread names no longer appeared in the overview.
This was broken in 51ed9ec.