SQL query layouting.
Implemented some error messages for the '/message/send' interface.  #46