Added message queue to deal with multiple messages being received at once