client: remove ^M from code-base
client: display proper output to client