services: Improve the mgen actor service.
services: Improve the mgen actor service.

Fix shutdown and add a validation command.
hakiri/core,hakiri/core,coreemu/core,hakiri/core,coreemu/core,coreemu/core,coreemu/core