changed output messages to array output
decreased time between msg.send in output loop