fixed possible exception
cleanup
Merge branch 'master' into ice-cream-sandwich
fixed #122: start/stop screen wakelock in onWindowFocusChanged (not in onResume/onPause)
Merge branch 'master' into ice-cream-sandwich