Create stage tree queue.

Created a stage tree queue. Also, removed `_leastTransactionId`.

Closes #25.
Closes #24.
Closes #20.