Changes to fps counting class