Almost finished a new threadpool class.