This allows to map the command exit codes to any other output level which can then be reported by the notification plugin. With the provided colors, the frontend will show them accordingly.
This still needs some cleanup, but oh well. The most important thing is, that it works for now.
That constraint would hinder the addition of multiple notifications, so it needs to be removed.