indexer: remove empty image groups
thumbnailer: bugfix: process next thumbnail resolution if some thumbnail exists (don't skip this image entirely)