sounds checkbox works

sets global variable sounds boolean equal to false if checkbox is
checked and vise versa