version 1.0.21
Ensure that the errorWrapper is closed when a new document is opened (issue 4625)
Removes reference to the Makefile
Merge pull request #4628 from Snuffleupagus/issue-4625

Ensure that the errorWrapper is closed when a new document is opened (issue 4625)
Remove unused (local) variables in web/
Remove some unused variables from src/

Only obviously useless, local variables have been removed.
Merge pull request #4622 from yurydelendik/release1.0.21

version 1.0.21
Merge pull request #4607 from Rob--W/unused-vars-1

Remove a bunch of unused local variables from web/ and src/