Bugfixes for RGB image handling under Qt

- worked around a bug in Qt where RGB image resizing fails if scale=1
- fixed handling of grayscale (non-fits) images