Fix infinite loop detection in while-path-ahead
Fixes highighting of loop blocks when checking timeouts.
Merge pull request #104 from brandonbloom/loop

Infinite loop checks