No screenshot to show if not in gui mode
Check if we are running in GUI mode, if not then the mMainWindow is null and hence no need to show a screenshot.
Check if we are running in GUI mode, if not then the mMainWindow is null and hence no need to show a screenshot.