Added wpf quality improvement flags