mild refactoring of mkv, addtl phenotype support