show error message rather than NPE when not enough images open