Miscelaneus updates to docs and bufferreader/writer