Added loop rate recording in Init()