Export the X.renderer3D.remove(object) function and some minor clean-up.