Improved thread names shorting.