remove compile warnings
fix random compile issue
Now ref thisVar, which stops it being repurposed into a Name for array accesses (fix #233)
Fix Linux halting when there is one long timeout but no other activity