Added classes in thread displaying