Updated operator precedence and associativity to be more like Pascal instead of C.
Spill unused TResVars.
Fix set to string.
Merge remote-tracking branch 'upstream/master'