Add frame and thread lists

Originally contributed by: Paul Redmond

With some tweaks.