fix GUI to allow R code while freezing b/t waves