If a CEL is on, it is a major item that needs to be addressed, so def read the codes. Sometimes they are misleading, but usually help point in the correct direction.
I had assumed the smoking was from oil, is that 100% true? Could there be coolant in there too? I think that coolant high temp light was a red herring from the battery replacement, but best to make sure.