Add quality selector. Fix #5