Improved our implementation of the SpriteSheet class.

It now generates the ITexture on the fly, and then caches it.