it seems that the last headstage is not getting set, I can work on that at home, all the buttons are working, still need to get the csv format fixed, but all the filename stuff works like a damned charm!