Update closeStream to find original block
Implement advanceBlock
Fixed "bytes remaining" for page 1
Merge remote-tracking branch 'upstream/master'