fix whining about signed/unsigned compare
add back logging, be less stringent about speed