renamed some variables.
fixed artifacts on the edges of the crop windows during progressive rendering.