Draw tiles in a straight line.
Limit tile draws to 32.
Fix use of wrong index resulting is wrong tile pixels being used.
Make tile solid red if it is not supplied any pixels.
If a tile tries to use a non-existent palette, default to palette 0.
Wrap tiles correctly at the edge of the canvas.
Change width at which tile drawing wraps.
Increase the limit on how many tiles are drawn.