edited graphics class to use bitmaps, and d3d to allow zbuffering