That was your burning smell,9 times out of 10 your alternator went, replace it your self not a hard job, if it works fine there's your problem if not take the alternator back and get your money back and go from there!! Note your computer was loosing power thats y your lights were going crazy