Remove unused unit inclusions, detected by
Export whole CREATE VIEW code, not
only the VIEW body. Fixes issue #2625 .
Quote collation clause in all places.
Fixes issue #2479 . Related: issue
Do not cache dialog instances any
longer. OnCreate code is mostly very
quick, and caching them adds quite
some pitfalls into the code. Not to
mention 30 lines less code in main.pas