Fixed flickering problem (was issue with lua stack) and added .gitignore