Stride scheduling draft 11, thread migrating implemented and probably correct.

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>