Added loading of fabrics, particles and animated tiles in xml, and removed some unused code.