Execute #GEO block content line by line.
Last result is stored in #ANS variable. Fix encoding problem too.
Improve rand_frac(). Other minor fixes.