Update main.pas

Life 9.8
torus_run is not a function parameter anymore.