The only real problem here is the for loops for key, value in someTable do ... end Will NOTwork anymore. Instead, the following construct should be used for key, value in {i}pairs(someTable) do ... end
I have not looked thru the Gatherer code to see if the former construct is used, but if it is, you should start changing them now.