Rewrite of the notifications system

It also reintroduces the possibility to turn auto-refresh on and off,
both with the constructor or setter.
then -> the.
Add more details. That it's rewritten is an implementation detail. How does it behave differently now?