Fix a bug; truncate long lines in change monitor.