Use pulseaudio library for sound rather than system commands.
*Close sockets when done with them
*Whitespace cleanups