Fix single instance management

There was a race condition in ApplicationInstanceManager. Now we use Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase to do instance management properly.
Fixes #200