Loading from XML is now working, fixes some exceptions