Fixed m_sendmessage to return the ID of the message sent
Merge pull request #429 from dparnell/pristine

Fixed m_sendmessage to return the ID of the message sent