Changes for Inform 7 (build 6L02)-It builds! Yeah!

Various changes to allow for the story to be built in the new Inform 7
(build 6L02).
carry out vialselling:
…
now q is x;
build code (auto.inf):tmp_5 = TEXT_TY_to_UNDERSTANDING_TY(tmp_6);
__
File "/Users/redclaw/Documents/Inform/Flexible-Survival new/Flexible-Survival.inform/Build/auto.inf"; Line 206938	# Error:  No such constant as "TEXT_TY_to_UNDERSTANDING_TY"
__
Again, it appears the q gets defined as a topic. In the loop, q is then set to x, but then q never gets used.