Those wires should be for your power, power light, hdd light ect ect......... Look at the mother board itself. There should be pins on the board that match up with some of the wires that your talking about. As far as the flickering on and off make sure all you connections are good and tight.