remove prints, use single goroutine to write to ReadingDB
Use channel to do sequential writes to ReadingDB

Also uses temporary fix to assign sequentially increasing integers
for the UUID/streamid conversion for talking to ReadingDB