typos fix
Removed too strong assert, it was crashing the CurveEditor when dragging it from a pane to another. Also fixed a bug when closing a pane which was created from the result of a split.