Moved guiThread updates inside onLocationChanged