Unified thread pool code - initial take
Unified threadpool changes - initial cut