forgot to correct 1 line, now corrected for good
several bug fixes, add mechanism to skip the seek if already in