Added loading from XML and timeline resizing