I found a bug regarding rFactor 1 based games (like automobilista). When AI is enabled the RPM_MAX value is not being filled properly by the sim apparently, and that causes a problem with fanaleds which in turn crashes it...
Looking into the other issue with random LEDS turning on as well