Bugfixes for eLua. eLua emulation mode