Further work on tile engine.