Disable alarms should disable alarms.

The alarms was activated even if they was not activated.
Also some doxygen fixes
Documented the code
Documented the code