Merge pull request #341 from dreamteam69/master

Sound class and improved debugging messages