r17: use both perfect and imperfect mode

and choose the result with smaller edit distance on the primary exons
output runinfo in stderr