I just corrected a bug using this:
_Thread.SetApartmentState(ApartmentState.STA);
Now I'd like to understand what it means, and why it works!