rework some of the logic when to show the audio dialog/prefs -- also fix a bug/crash with trying to print debug stmts