Add upgrade alert.
Use gesture recognizers for background tap detection.
Minor cleanup.