Replace some typedefs with usings
Add support for non-scrolling fifo buffers