improved image viewer, save image button should always visible.
fixed some crashes.