adjust key thres, change IP address of sound server.
move globals up to the top; add settings file to configure globals.
configurable IP address and port in settings.