Added DrawMode support.
Added missing KEY_INPUT defines, supported some.
Added SetMainWindowText.