Allow closing pinry with ESC or clicking on header.
On close, remove the script as well as the images.
Avoid scrolling the window but use 'fixed' to always show pinry correctly.
Improvements to the image preview:
- show the image size on top of the preview.
- scale down the preview to view (most) of the image instead of just the center.