Several bugfixes, added foursquare attribution.