Truncate long messages when searching. Close #192.