WinRT: code cleanup: attempted to make it more clear what code is specific to what app type (plain Direct3D or XAML)