Move logic to finish emulated syscalls into Task.
Set TLS for the right task.
Fix tracking of task prnames.
checkpoint
checkpoint
checkpoint; code written down
checkpoint; compiling
checkpoint; works up to syscallbuf usage
checkpoint; syscallbuf working
checkpoint; finished replay on deepfork
checkpoint; checkpoint-then-restart(checkpoint)-then-run-to-completion works
checkpoint; working with multiple threads