New alarm processor and misc fixes