Converted editing state classes to void-safe;

Tree-based editing working for C_COMPLEX_OBJECT and a few other basiss;
Undo/redo for the tree seems to be working