PickStaticImage update

Pick the  best image in a window