Proper fix for frequency offset bug.
Fixed recordings not stopping if no signals detected.