Added factory function for images: static Image* Image::ConstuctImage() and implemented it for QtImage in qtui/Image.cpp. Changed ImgMatch::Compare() to take image locations instead of image pointers. Added scaled images cache in ModScale.