Use pulseaudio library for sound rather than system commands.

*Close sockets when done with them
*Whitespace cleanups

Actually stage the files this time around :)