Use MVVM pattern for WPF sample.
Don't free an engine instance with a null handle.
Remove unnecessary imports in WPF sample.
Add project headers to new source files.
Use standard code style in WPF sample.
Shorten some variable names.
Change WPF sample form dimensions.
Use fixed width font for WPF sample log window.