Made TEnkiEnvironment more convenient to read and fixed one little bug in it