On error, tell the user how to enable stack-traces
Added Safe_exception for better error reporting
Report line, col for errors about XML elements