#2 Running the loop from the Lua script until the user click to close the application.
#2 Main loop running with a fixed fps.
#2 Executing the StartModule script.