Properly delete the markers.
Adapt to new widgets.
Adapt to no qwt widgets.
Work in progress.