revised queues locking in EventQueue/EventQueueGetModule.cs