DB and gemlock changes.
Refactoring going on...replacing the horrid way I was serializing the XML to now use the XML classes in clifton_lib.