minor refactoring
ImagePreviewComponent now shows images and listens to mouse events