added detail to thread reporting and replaced program-output.txt