As you have already mentioned to yourself, check ignition & cam timing.

EDIT: Hope that it wasn't electrical smoke, maybe grease / gaskets / n shits burning off or wearing in.