Moved MessageHandler from WPF to WinForms.