Fixing view state issues on app boundaries

Doing an iOS 8 pass, I came across a number of issues where not waiting on asynchronous UI processes to complete was causing issues in (re-)initializing new UI state.  I'll annotate specifics in the code.
Different bug here: security snapshot views are no longer firing soon enough to work, from `appDidEnterBackground:`.  Picking them up in `appDidBecomeActive:` and `appWillResignActive:` instead.