Issue #001: A bit of reformatting that may or may not break everything.  Issue #003: Sets up a queue for messages in the AgentRunner class.