Added the new public_messages with the goto distance implementation for the message queue.