Bug 1056096: pick a preview size that is bigger than the screen

change the preview quality metric so that bigger numbers are better
Merge pull request #23116 from davidflanagan/bug1056096

Bug 1056096: pick a preview size that is bigger than the screen