Crankcase explosions can be prevented by
Ensuring proper lubrication to all parts.
Operating at the correct load.
Using bearings which prevent overheating such as white metal bearings.
The crankcase ventilation should be functional.
Having a reliable Oil Mist Detecting system