improve Unix stacktrace code a little