Animation data now read from XML.

Fixed bugs with reading some sprite data from XML.

Though the animation data is read in, it's not properly playing the animations. I'm not sure what is wrong with it yet.