bugfix happening if the log message was undefined
removed a try cath in subscriberCall as it would cause the error to be logged twice due to the try catch in publish method
added an attribute to the subscribers to bubble up errors outside of the mediator
added a channel to properly notify the app it's being shut down