fix to reset pending for visited files
fix another pending bug, remove superfluous index tracking
1.0.1