Fixed a nasty hang in ai.basic.AI.
Forked the P7 core (https://sourceforge.net/projects/pienovel/) over into clip-rpg under the name of novel.py.