Fixed some log and  contacts display issues.