changed os.exit to love.event.quit