Bradme: refinements to the command running subsystem.
Merge.