optimize: no longer use lua tables and table.concat() to construct simple query strings. also use the "t/servroot/logs/error.log" operator instead of string.len() to fetch the Lua string length.
optimize: eliminated table.insert() because it is slower than "tb[t/servroot/logs/error.logtb + 1] = val". also reverted to the multi-arg form of string.char().