research python plugin: seems ok in multiple thread now.