Added basic image-viewer functionality.