Some reorganisation of the command interpreter code.
Fixed bug in `?do-start`.