Initial work on restructuring the thread scheduling so that it automagically
collapses into a single threaded main loop on a uniprocessor machine.

Initial performance is promising