Added element sound playing and fixed the problems found in the process. Also repaired a small bug in the SoundQueue.addSound()