Added unhandled exception handler to projects

Also added IsTerminating to error reports