Fix program breaking when plotting waveform or TPS with no channel chosen Closes #46 See merge request !77