api changes
DataSet: add destroy(), broadcast ipc onSave event
sort types
wrap Curve#write()