fixing Bug #4 by using a hidden local file to track number of executing threads
Merge pull request #5 from bicarbon8/Bugfix4

fixing Bug #4 by using a hidden local file to track number of executing threads