Some probabilistic aspects of Yang-Mills