(WriteConsoleOutput): bug fixed (attributes may change within lines) and enhanced speedwise by using buffering. (CONSOLE_string_2_IR): enhanced, now gets scancodes and virtualkeycodes