Thornton becomes all-time leading rebounder in win