I guess sometimes we have to bite the bullet no matter how much we try to make things right. I can bet you that something grounded out when you installed that engine. Your electrical problem could consist of simply a blown resistor or an ungrounded ECU. Check ALL possibilities before taking it into the dealer.