WPF 7.net app craching after it is done building - C#