enabled in SCFG->System (the default is enabled). Added copyright comment header block. Fixed msvc6 warnings.