Finally got somewhere with WPF and XAML