Added rough attempt at thread data structure.

Still absolutely untested, guaranteed not to work.

I'm going to write about my experiences on my blog tomorrow.
What do you have to offer you little twerp?