Formatting fixes to thread docs.