writing the trade history out to a html
changed trade offer version and protocol
added really primitive error handling