Lots of data on internal structs.

The debugger now keeps track of threads.