Add advanced option to set jpg quality used when saving images.

The default is set to 90, which I think is an okay one.