more fixes for the nth indexing bug (eleith), tweaked comments and other fixes
more fixes for the nth indexing bug (eleith), tweaked comments and other fixes

dperini/nwmatcher,dperini/nwmatcher,dperini/nwmatcher