Optimizing print jobs - stopped shifting / poping with arrays and started using a ringbuffer which does not incure any array growth / shrinking penalties.