Add setDebugMode function
Use simpler getGlossaries call
Update comment on setDebugMode
Merge pull request #13 from hermanschaaf/glossaries

Add setDebugMode function