hook audio listening modes and complete cleanup for debug