Branching local tests or CI tests.
Reverted to the old wave segments layout.

As a bonus, some performance optimisation as we never redefine the draw function.
Rect/Wave working shapes.
Enabling back the overview waveform.
Refactored Axis drawing by removing the multiple manual calls to drawAxis.
Unique draw function and removal of an extraneous unused rendering method.
Refactored waveformDrawFunction and removed waveformOffsetDrawFunction