- Added error checking for Tile Instance Lua wrapper.