Fixed-up command line parsing.
Impl'd disconnection.