Continue statements that were previously inside of loops need to be replaced with return
Refactor again into just using normal for loops.

Array.forEach presented its own problems because it can not
be short circuited using a return statement to exit the
loop.  So, I've just switched it over to use normal for loops.
Not as pretty as before, but it should work the same.