Run dispatch within a subshell.
Add support for keeping a terminal connected to a remote system.

Signed-off-by: Jon Seymour <jon@ninjablocks.com>