Reorder functions so StopAllSounds is called prior to submodules init/shutdown
Fix potential crash in music_process