Fixing thread's var unelimination behaviour
Allowing thread regression testin
Fixing needToInterrupt system