Use standard UIApplication notifications to determine background/foreground states, allowing to replace the image in the app switcher immediately.
Various simplifications and bug fixes.
Doesn't seem to be an actual need to track the status bar.