improve display. make unused pixels transparent.  do palette lookup
to stop colour drift.
try to fix thumbnail jiggling.
slow down writing even more to try to avoid problems.