very ugly, but lua5.0 doesn't handle '...' in an efficient way. By unpacking 'arg' inside of an OnUpdate function, the memory usage will increase dramatically. The supported count of arguments is now set statically to a maxium of 10.