Fixed NPE around locMapCenter, added testing for Locus version

and clean up.
Fix for NPE in WebView.onWindowFocusChanged. (Android 2.2)
Fixed NPE while opening external URL.