Really choose the largest image as a main image.
Stop doing extra work: Loading and dropping small images here doesn't make sense, since images will be reloaded once more anyway.
Try to select main image from the header of an article or close (not only article text).
Create thumbnails of images by default.