Fixed bug in response queue code
Added MOTD support