added number of active threads to account for (filelen < number of total threads)
Merge pull request #13 from agonzales-usgs/master

added number of active threads to account for (filelen < number of total...