Added alarms
Added uncaught exception handler