Don't enable the Generate Comments button and menu item unless there's are smart scripts loaded at the moment
Fix an issue where the comments would be reset to placeholders when switching between sourcetypes.