Bug 915001 - save edited images using tiles and display a progress bar

address review comments

fix rounding error