Timing in frame loop
Proper frame loop delay