Update to version 2.5

Remove global stats, they were slow, had performance issues and not really used