Added a 'Copy Log' button to the main window.