Fixed text typos, fixed unexpected warnings