added *compare4/streaming implementation
fixed print to go to stderr