an item is open as soon as the pop begins
simpler flush implementation, for now
results need newlines