rework Object.lua - hopefully fix nil name bug