Replace LogLua calls with luaL_error.
Added indentation to log files, changed Lua atpanic callback.