Progress on porting of the code to new devel.
Finish - all examples build on windows.