Stack dump improvements