Added logging when a plugin throws an exception. Also the main process dies.
Changed iso_date to iso_timestamp. Also added iso_date with only date as a return value.