fix clipping
refinement

Discovered Ken's docs contained the permanentwritesprite
and overwritesprite shims. The palette.dat file needs
to be updated with 'transpal 32 128' for the shading
and transparency tables to be correctly built for the
v7-generation engine.