Added window resize
Added Element::addXMLFile