making console colors thread safe