Possible fix to generating assign statements inside an atomic block where a
local pointer variable is assigned something outside the block; need further
testing.

Also fix for for statements inside the block to not use variables outside as
their condition.
Added automatic flag generation in the generated program for parsing by
cl_launcher.