various fixes
language init
lang flags