population/language code streamline

population/language code streamline

Also fixed a bug in the language regression logic