Thanks for the info Heidi.
For the error that you tracked down a marginally better solution would be to change the line:
self.sounds.remove(thisSound)
to be
self.remove(thisSound)
rather than commenting out the whole thing.
That should avoid the error that you saw, but will still try to remove the (finished) sound from the set of sounds trying to play.