Stabilization of WPF app