Few fixes to BitmapData

Size getters now inline. More error handling in copyPixels.