added item buffer and made the cursor forward-only (+ had to fix samples using stateful items with rollback)