Made some refinements to the actions tab
Made a way to escape strings for formula, to handle unit names

Since the players can rename their units arbitrarily, they can put
  both parentheses and singlequotes in them, which was previously a problem.

Sigh... if [text] text= just took a regular tstring instead of an
  f_tstring then I'd be fine
Or if formula wasn't such a half baked language that there was no way
  to escape singlequotes in string literals
Oh, I've got a solution. I apply _ to the string first!
I have no expectation that it will be translated... but that turns
  it into a userdata that isn't parsed by formula.
I feel so perverted.
Improved the "cast this spell" button.
Created terrain-changing system