Figured out why and implemented a fix for stopPlaying not working.
Closes #4.
Discovered that the socket used by plug is global.  Converted a number
of operations that relied on DOM manipulation to now send commands via
the socket.