get a new distributor cap, it is not supposed to be cleaned
the symptom where the engine does not immediately shut off after ignition is switched off is called dieselling, your fuel cut solenoid might be bad resulting in this problem
80% of the time the tappets are set wrong so that needs to be redone, by an expert or the owner himself
the timing must be at factory spec if you want to run it at petrol and you need to check the timing advance with a timing gun