allow opts for main-loop to be passed to mercury.app

refs #45