Added XML encoding for strings.  Made buffers a bit larger.