Added copy button to logs. fixes #1281