set default number of parallel threads equal to number of processors; added method to change number of threads being used during runtime
added fix for clearing list of active threads in parallelworkqueue11