bug found: notifications that change UI must be on main thread