Lag Issues Fix

Fixed lag-related issues with the cooldown bar, and finding deltaAverage
more efficiently.