finalizer stuff
Merge branch '99x' into lua-backend