Adding better logging for validation. Also adding input name for all

logging.

Should be `"Unhandled exception in modular input: ..."`