Organize ETask, preparing for process consistency work.
Simplify pstate: use exit_reason for signalling exits.
Also, rename SENDING_EXIT -> EXITING.