fixed accessing disposed meshes (hopefully)

other stuff too