added glossed word list to the exports fixes #1377
adding latex preamble only if its latex fixes #1372
adding header and preable if the export modal is empty, so users can click export in any order fixes #1383