linked gui with sound

problems:
changing modes not working
unresponsive in infinite loop
rests not holding full value