Add capability to change the XML file being used. This triggers deleting all currently collected datums. Also added support for correctly cleaning up some destructors as well as cleaning out windows and DataModelController when clearing all datums.