Lua >= Lua52

A couple minor changes. Hoping the Ipe change might help a bit. We’ll
see.