further improvements on CGA_Stream and associated classes