Aftermath from various attempts to close stdin.

This doesn't seem to be something that can be done in Rust yet.  Aw.
Add rudimentary connect/disconnect logic.
Work on starting one-shot programs.