Cleaned up ThreadDumpGenerator