SndVol module: improved performance a little, some code revision, and testing fixes for session events.