3dapi various small changes