Cleanup some Stream warnings, and use BlockAllocated, and non-recursive mutexes in a
couple places in the Streams code.