Simplify queueing

This ditches the ring buffer for a linear queue. The code is much
simpler, and saves about 150+ min+gzip bytes. In initial testing, it
has no negative perf impact.