Finished problem two (too* for @zacsocha): modified a queue template to utilize a buffer ring.