Starting rewrite wpf.class ... Don't use the project for now, all is broken !