HMM: fixed algorithm selection.  Alignment: added tiebreaker parameter.