bug fix in event editor dialog which was making exceptions afterwards
faster implementation of overlaps() function