Cleaned TileManager

Cleaned it up.
Next is to turn it in...