Patch of fixes for bugs and oversights

same here with the x y z vars being 0 if user sits in an object.