some changes to work with icons
dropping sleep for debug in image_show
a bug in version 2.8 and 2.9