Sorted out WPF sample and use active WPF window title as Context