Black Screen when trying to quite Kodi (RC3-RC4)

Windows 10 x64
Kodi 17.0 RC4
ONLY HAPPENS WHEN NOT USING FULLSCREEN WINDOW

This is what happens.

You try to close Kodi from either the Remote or Menu. You get a big fat black screen, can’t do shit else then “sign out” blind using win+x+u+i (thankfully)
Now, this is where it gets interesting, I start Kodi with my remote using a simple desktop shortcut. If I run Kodi again after its gone dark, Kodi comes back again like nothing happen.

In the debug log I first start Kodi like normal. I wait 1 minute then I try to Quit. Then I wait 30 seconds with a black screen staring at me, giving Kodi a change to exit. When nothing happens I run Kodi again like mentioned above. When Kodi comes back I use ALT+F4.

https://www.zerobin.net/?bde811c5c975ceb…618M4qY5M=