protected ScriptThread StartThread(Action action) { var thread = new ScriptThread(action); ThreadPool.Add(thread); return(thread); }