Added a way to make a sound loop and stop all playing sounds of a type.