fixed exception handling and logging in traceview/processing programs