run: Better debugging and error messages for goals and tactics.