Implemented check for opening\closing segments, finishing a program.
Changed internal tables in Compiler.