JPEGRescan improvements