Minor enhancements to printed messages and the xml out option.