Further AI Refinement

Still no actual AI, but updated a few methods that should help once I
figure out how to make one