Fixed UI blocking with a background worker thread. Also fixed the application not getting focus the first time by calling form.Activate on the show method. This makes sure the form is completely functional before making it visible and setting the focus.