added thread viewer

thread viewer "backend"