Fixed bugs after compiling all headers file - wrongs includes, non-existing structures, etc