Tweak infinite loop test to check for forward motion as well as none.
Attach a file by drag & drop or click to upload