Reorganized the sound effect code so that each object that has sound
effects also has a sound effect manager, which allows the capability for
the sound effect to be played only when the object is visible in the render
window.