Three essays on competition and regulation