lua : fix some mem leaks
lua : basic support for iop. Only generic info at this point
wip