setting up a WPF UI