stateDriver: Add fps measuring