Add a bunch of debug output related to launching / resuming the app, more work on the app getting stuck at 'disconnected' after resuming