Comments, display slow JSD warning only if the Script panel is enabled, CSS tweaks, remove obsolete method (issue 6821)