Perfect, the idiom you use is definitely more elegant :) glad I learned something new today. As for the deadlock, I'm quite sure why it happens (the "pump" that does the Invoke requests doesn't get called as the whole thread is stuck waiting in the first place), no problems there. thanks a lot for your time! ;)