Use enclosed-exceptions to catch all notification errors

This *should* make the desktop switcher resilient against all kinds of exceptions, both synchronous and asynchronous.