- code optimization
- fixed crash on copy-paste
- fixed treeview exceptions