Made the stack less queue-like

Turns out I subconsciously started implementing a queue; that's now been
fixed.