fix possible concurrency problems, use faster lowercasing checks
[pl] new rules for common typos