Fix Flushing buffers and add seek method to container