Added the console handle to the callback function, so a client with multiple consoles can tell which one sends the notification.
Fix formatting.