Tile painter code cleaned up, now supports decals.