Fix NewUI bug involving the debug console on Win32. Also change the behaviour of WM_USER_LOG_STATUS_CHANGED to open and close the log window when enabled/disabled as appropriate.
Move debug logging toggle to Developer Options in NewUI. It was supposed to be here in the first place.
Merge pull request #3050 from thedax/newUIBugFix

Win32/NewUI: Address debug log bug and placement in menu.