Indentation fix.
Preview images.

Do the scaling in the subproc.