Summary file fix. Better readonly vars. Small changes.