Added linewrapping for log console and chat window

Conflicts:
	cli/cli_client.ml
remove unused list