Adds possibility to define quality option globaly.
Merge pull request #43 from yfr/master

Adds possibility to define quality option globaly.