Added support for quality and resolution seettings.