Cleanup and save context while entering background, detect faces while becoming active