Not sure if this will cause any conflicts in the naming. But some kind of class for BeginDrawing with a destructor to call EndDrawing would be neat. I mean it would probably only save a line or 2 but maybe?