Fixing a few rather nasty bugs.
Merge branch 'master' of https://github.com/Kytelabs/DigiDocGov