Storing phread quality in LocalVariationStore.
Adding Tammi's quality method, expose more options to command line.