Allow lowercase image type on command line, default to png.
Turn on Retina support, use updated Java VM option format.