Question: do iframes run in separate threads?
Answer: To sum up the other answers: No, iFrames usually run in the same thread/process as the main page. Recently tested if JavaScript running in a iFrame would block JavaScript from running in the parent window.