Mostly working sound config dialog.  Fixed app exit not working properly.