Code completion window position is now correctly invalidated when the data
context changes.
Added a Apply button to selected curve for UX reasons