Rename numCPUs parameter to workerCount

Because the only reason to use the parameter is when it is not equal to
the number of CPUs.
Back out lazy loading of debuglog.

Unnecessary complexity.
Fix assumptions in finish and end events for testing
Use logical identifier argument in createEnvironment
Address incomplete round robin state machine.