Deletet redundants modifiers, added gaps number check, rebuilded resourc...

...es, changed lang_utils a little