Heavy flavor production in p+p and d+Au collisions at sqrtsNN = 200 GeV from single leptons over a wide kinematic range.