Autoproc: First attempt to better error reporting