Critical notification fixes

* The notification queue is a FIFO data structure
* Fixed an issue in show() when a new notification is added during the short interval between two notifications