Klay Thompson scored a season-high 45 points, Stephen Curry got going after halftime and so did the Golden State Warriors, who avenged one of their four losses this season by beating the Dallas Mavericks 127-107 on Wednesday night.