Fix bugs with alarm and outputs 6/7.  Closes #3