Lua update
Doc update
Fixed flicker bug