Now a zip file with a folder with the base name of the input image is created in order to ease the pain of some browsers, where the download has no name (e.g. Safari).

Removed unnecessary files on the client side.