Minor fix so writec works.

setConsoleBackground && setConsoleForeground do not exist.
Changed references to background && foreground.