Small fixes
Tile cache added.