allow quitting and setting of fullscreen from lua