Changed to WPF, .NET 4.5; starting from scratch