Use BeginInvoke to avoid deadlocks
Merge pull request #168 from falstaff84/master

Deadlock in NLog library using Control-Target (WinForms)