[Bug 969903] Improve thread pane display name handling; r=jcranmer