Implemented DIBSection.
Fix a crash at startup on on larger DPI setting.