WaveFormControl: Added overlay around loop when editing loop. Refactoring of loop rendering.
Fixed bug in WaveFormControl where the loop length could be below zero when changing a segment position.
WPF: Link to marker in Loop Details is now hidden, as this feature isn't
really useful and hard to implement correctly. When changing a segment
using the wave form control, the start or end segment tab is selected
automatically in Loop Details.