After months of wrangling, Magna Entertainment Corporation and the Florida horseman agreed Friday evening to the percentage of slots revenue that will increase horseracing purses at Gulfstream Park.