created a branch that uses XmlTextWriter instead of XMLDocument to save documents. Investigating ticket #103.