Link in Lua, and start porting Main().