Let's add error_to_chat for now.
Various fixes related to easylua and error handling.