Returns zero if no more stops.
Initialize path to not null.
Guard AI foundation.

Closes #246