Fixes to the message queue
Added a queue to the send message function.
Working copy for implementing the packml status.