fixed bugs caught in sex study, added bonus_delay