Some cleanup of the AI.
Signed-off-by: Chris Sanders <zidane@outlook.com>