support colorful console messages
some fixes