rework

* rework error management
* rework project properties (use typed values instead of enum)
* move stdwrap to wrapstd