WriteConsoleOutput not working, reason unknown.