improved error handling and 'init.lua' cases

c functions, or modules returning 'true' instead of a table would error out, now they return nil+error