Add getLastKnownLocation, improved logging