Great work, but it’s giving an error:
“The type FrameworkElement is not compatible with the type Window” in this line at “loadWindow”:
(new Application()).Run(loadWindow())
XAML compiles, but Needs the added Name Attribute in the root element as noted on the download website.