tidied up defunct code
added docx to gitignore
more tidying up of defunct code