minor update to new z-buffering code.