Did some clean-up and also re-enabled tileMap to use texturemaps.