introduced -project and changes to BinaryGallery needed to better support streaming