sound applet:  Some fixes to eliminate warnings/errors (and hopefully crashes)