Fixed casting issue in windowBed.AddWindow() that cuased slop positions to run off the end of the chromosome.
This will eliminate the oft-reported compilation issue.