Added some debugging, make the app finish onStop

In an effort to mitigate the bug, I'm "finishing" the app when it
permanently looses focus (onStop).