I think the unused plug is for the optional KTM fan. The cpu fan is a cheaper option than the KTM one, and likely doesn't move as much air. The yellow wire, if stock is likely one half of the AC lighting circuit.
'03 KTM 450EXC
"If you know what you're doing, then you aren't learning anything." - A. Lincoln