improved error handling and 'init.lua' cases
Merge pull request #5 from Tieske/master

improved error handling and 'init.lua' cases