change sample frequency to 16 kHz
chnage printouts in SocketThread
move query sending to RecorderThread and match reporting to Recorder