Now calling setViewerMode() when starting/stopping viewer