Have a working WPF test harness - still issues with controlling the cursor in the rich text box