example/simple: Add a basic event loop and display average FPS.