#472 Cleaned up image scaling in the preview processor a bit.