AI movement & spawns
refactor, fixed diagonal movement
dynamic resize
performance improvements