messages: wip sms.  Fixed some implementation issues.