StreamWindow error checking. Replaced unmeaningful members.