Moved locale setting from EI() to ERML(), changed encoding for russian locale, fixed several shader management errors, moved OpenGL function list to common.c, added immediate uniform types