Fixed ToLua errors, added newlines