Projectkk2glider/lua stuff

Closes #1388