It does have full lexical scoping, however "global by default" is good for scripting, questionable for standalone programming.
I general yes Lua is a great language, I have a lot of fun writing in it. But it does have its warts (though fewer than Javascript).