s3.c : Fixed problems with sound and switches.