sensible handling of lua stack trace printing, I hope