Added clearer comments. Feels more streamlined now.

There still seems to be some concurrency issues, but overall it doesn't
seem completely wrong. I'll stat working on test harnesses and
benchmarking now.