Implemented getTexture for STileMap. COMPLETELY UNTESTED.
Tweaked texture generation some more and begin preliminary unit testing.