Fixed bug with init in C. Full multithread support. C - finished.