Spawn support for scheduler.
Bugfixes for multi-warp operation.