Clean up logging in a number of places, some performance improvements for generating social network connections, compact the world data file