Added debugger, initialising GDI+ correctly now