Thread support in analysis.

Well atleast for reading the root file.