Dispatch notifications on main thread

To avoid observing objects to accidentally update the UI from other threads.