* format
* close p tag
* handle newMessage event separate for notifications and db
* don't call the displayMessage method from within the newMessage event for #44 we will handle the display for every type separately in the next commit