XTextureAtlas updated

Now takes vector<shared_ptr<XTexture>>