Threads with message pump require STA comparment

May affect issue #19