Add functions to get a human readable table name.
Fixed a bug which shows a wrong client name for the database sync. See #130