New multi threading

New script. This divides up the work between the threads instead of
creating a new job for each target.