Significant updates

Fixing many issues discovered when trying to use the module and adding security to allow report viewers who are not report editors.