Handle images from internet. Other fixes