updated viewer base

ran code analysis to remove unused imports and fixed spelling errors