Main:
- Added TODO: can we decrease code duplication between the runReportViewer and updateReportViewer methods?
- Fixed several small Checkstyle issues.