- Extended the progress function so that it updates every individual progress bar as well as the total progress bar.
- Edited the getFileData function so that it places the whole document in a global variable as plain text
- Tied more functions together in the update function so that it updates the word count, progress bars and references in one go, also clears the text global variable used to store the document to prevent memory slow-downs
- Added a simple calculateMargin variable which gives you your upper and lower limits for word count given a specified percentage margin