Further improve url checking, fix color output in unicode.py