add xml imports

Added xml.dom.minidom import for tools I don't use with xml parameters
very often. Significant bug.