model3: Rewrote 2D tilemap rendering. [Ville Linde]