Gracefully handle filled-up-a-region in the common case (there are still
a couple of instances that will cause a failure). My check for overfilling was wrong anyway, it didn't take into account the header. Have imagedump print a couple of counts as unsigned.
Showing with 27 additions and 11 deletions