Add ingame export script (untested)
Finalize export script

Since diag_log doesn't support line breaks, move to copyToClipboard and also fix some missing line breaks.
Merge remote-tracking branch 'origin/export-script'