- Fixed up and added error checking to Lua wrapper for DialogueComponent.