Merge changes from topics "dist_for_goals", "mk2star"

* changes:
  Runtime reporting of the conversion errors.
  Runtime support for dist-for-goals.