Changed transmitQueue to a priority queue to give acks priority