While Idling out of the marina the engine began to run rough and dies out. Smoke is present coming from the cowling. At inspection the regulator/rectifier shorted due to corroded wires (greenish debris on end of burnt wiring) it fried and the heat also deformed the CDI case. Not taking chances...