fg and bg colours working. There was a problem with changing colors before stdout was ever flushed.