More support for bezier in curve editor, almost done.
This commit breaks compilation because the code is not finished.