Add trace support to better view what the workers are doing, and to better view any synchronization issues when using the synchronization primitives.