Now adds sent and received commands to communication log in a more
readable format.