Two CLI fixes.

1) After the change to late signing, a typo meant that the client would
   exit when sending a message.

2) Drafts created in the UI don't always have a destination contact set
   so a statefile that was used in both the GUI and CLI could end up
   crashing the UI.

Time to start writing unittests of the CLI as well as the GUI.