Character setup - pAI configuration

It is now possible to configure your pAI settings from the character setup screen.
First commit is simply an explicit proc/Topic cleanup. Second commit is the interesting change set.