Added quality selection, and moved quality settings to config