Added basic sound playing (working?), debug flag

Not sure if the sound playing will work, but we'll see.
Wrapped all debug logging to chat in an if(debug).
If the sound playing works, all I need is to pick a sound and then v0.1
will be ready for release.