Changed queue context to allow different data ring arrays, adde
initQueue()