Add restart notifications for tasks that could affect the service.
Fixed bug.
Externalize xqueue_consumer vars.