Changed loop to timer and removed loop in GameManager.