small fixes, reintroduce libgdiplus