Fix two more exceptions related to the Show Basic Information
Fix opening the sql output form if Show Basic Info is turned on
Fix deleting a row when Show Basic Information is turned on
Fix another exception, this time when generating comments for all items while Show Basic Information is turned on
We can now safely get rid of MainForm.BuildSmartScript!