Turned the openQueueStruct into a constructor function to give V8 hints on optimizing this object for a small-ish perf boost.