Updated lua example : ported to 5.2
Updated Lua example : updated debug output