Minor cleanup of an import.
Update project properties.
Pause the live wallpaper in all cases now (avoids problems when pressing back from the preview window).

As a downside, the live wallpaper no longer animates when the settings screen is overlaid.
Add support for setPreserveEGLContextOnPause().