add global process

I believe that if you return an integer here, luvi will use that as the return value to main in main.c.