fixed wait

Wait output was being done when the wait production fired. This however,
does not ensure that it was a wait switch. The change ensures that when
an action is registered as having switched to teh sound (wait) that it
was due to hearing an alarm.