Ready to fix for build on Linux platform.  Fixed logic with timing.  Fixed logic with erroneous trylock at start of scheduleme() procedure.  Added new mutex for determining whether or not the current thread has control of the scheduler mutex.  Fixed return from scheduleme().