some minor refactoring + bugfix: now .fitRibbon(..) also triggers partial image loading...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
added real gids + images.reduce(..)...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>