GDI handle of device bitmap is released
Added some C# methods
Added printing and some more methods