Bug fixes. Message sending stable.

Receiving messages still untested.