added some changes to the way connections are handled on the writer. added an init message now for scalars in the reader open call.