Improved backgrounding and APNS logs.