working to fix authorization requests a little, sending an alert if the thread is not open when a push notification is received