ThreadHelper additions