renameobjectbyblock - made more readable, only operate on objects in the current scene. optimized dict usage.