Added GUI option to log data before binning, plotting etc.