State-ized FIFO functions, for more sane debugging of it.