AI: multiprocess, part 2.

Functional, but with rough edges.