Merge "Move handling of package changes to a background thread."