Add and flesh out thread documentation