Fixed a potentially dangerous situation where the main event loop
was called for each time a plugin imported the evm module.