added ability to change foreground and background colors on the fly