Use "not x" instead of "x == NULL"
Move some initialization code from *Stream to _StreamBase