Begin setup of z-buffering.
Make progress with z-buffering.
Fix up z-buffering. Only a problem with some lines, problem with shading still exists.