some minor code changes
custom extension for dealing with image-widgets