Kill thread deadlock detector on exit, add Swap function and more work on new piece using string sythesis