making console colors thread safe

#37