Bugfixes for geolocation and stuff.