add syslog and uncaught exception wrapper