Made syntax errors not be reported in defs.lua
Made ctrl+d work correctly in unfinished interactive mode
Changed a bit around