WIP: More progress towards logger/debugging facility
Beginnings of a thread-forking test.  ForkWithExceptions doesn't actually work properly if parent thread exits early.
WIP: add a logger to the Sched state, initialize it in debug mode