Fixed up CpuStream and did more fine-tuning.