Merge pull request #103 from doopl/master

Require explicit cancel to stop game generation
Allow continuing play after a failed load.

Also tidy up use of messageBox, toast, progress flags.
Merge branch 'master' of git://github.com/chrisboyle/sgtpuzzles
Fix #104 (Pattern toasts).
Fix #105: custom game dialog on at least android L.

Specifically, stop passing pointers as ints to/from JNI.
Fix #84: don't regenerate on resurrecting a URL-bound activity from recents.
Use solid action bar style