displays thread states