Rename whileloop to whileLoop; don't use while when searchDelay < 0
fix errors, allow 0 in interval loop but use while for <0
Merge branch 'lightspeed'