Cleanup lua stack dumping. assert stack clean after use.