Made loading of XML file interactive.