Changed rm_itemWidth to handle strings as being utf8-encoded. Resolved some todos in relation.cc