Added missing fold markers for some tests
Used mask/restore to guard against race condition in controller thread cleanup
Wrote a test that controller threads are killed.
WIP on master: 00788ca Added scaling data for 256 workers.
Moved genericMain to be under the simpleMain functions.

This was done because it is a more convenient spot for it
when coding.
Finished first attempt at tracking the total CPU time.
Revert "Finished first attempt at tracking the total CPU time."

This reverts commit 145ee574e76443d5b984450104a260e165e52fe0.

I realized that this solution is incredibly
clunky and difficult to test and plan on
using a subscriber model instead.
Added ability to monitor the worker count.
Wrote and tested code that tracks the total CPU time.
Now the total CPU time is tracked and may be displayed.
Now the checkpoint interval is used even when no checkpointing is active.

This is important for adapters for which workers can come
and go as it preserves partial progress.