Cleaned up Lua errors.
Merge pull request #12 from Kelse/patch-3

Cleaned up Lua errors.