main activity stats, various improvements