got eeglogging thread logging to file and talking to matlab server