Merge "Stop rate-limiting toasts while the package is in the foreground." into sc-dev