debug lag and display FPS