Move session initialization
[#10] Indicate in edit summary of upload whether the cropping was lossless or lossy