added code to draw 3d boxes around table objects checked in a bunch of modified