fixed up Bitmap class to handle sub-Bitmaps and access to them.