Better sound synthesizer code

Sorry for submitting it again because I've had some problems with github

Sound synthesizer code is cleaned up
Attacking yourself with sound synthesizer will change the current sound (faster than doing so via the context menu)
Attacking others with sound synthesizer will play the current sound only to them