Allow nesting repeat tags in the GUI.

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16034 3db68df2-c116-0410-a063-a993310a9797
several optimisations on the ai, refs #2370

git-svn-id: http://svn.wildfiregames.com/public/ps/trunk@16035 3db68df2-c116-0410-a063-a993310a9797
Merge 'remotes/trunk'