Implementation of a notification queue

Needed when more than one notifications are added at the same time or shortly after each other.