Add support for result modifier in Minim creator; improve some diagnostics