Remove obsolete member on dumpSink
sink bufferSize int -> uint. Buffers can only be of positive length
fix tests for sink bufferSize int -> uint. Buffers can only be of positive length

make lock for ring buffer inaccessible from outside

don't use GetOutChan in dumpSink more than necessary