gui: Waveform - streamline C++ implementation, add mouse navigation